package com.zbkj.service.service.project;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zbkj.common.model.project.ProjectInformation;
import com.zbkj.common.vo.CountVo;

import java.util.List;

/**
 * <p>
 * 项目资料表(客户端上传) 服务类
 * </p>
 *
 * @author 
 * @since 2024-07-06
 */
public interface ProjectInformationService extends IService<ProjectInformation> {

    /**
     * 获取有效项目资料列表
     * @param projectId
     * @return
     */
    List<ProjectInformation> getValidProjectInformationList(Long projectId);

    /**
     * 将当前有效资料更新为历史状态
     * @param projectId
     * @return
     */
    boolean updateStatusToHis(Long projectId);

    List<CountVo> prjectStatisDay(Integer status, String startDate, String endDate);
    List<CountVo> prjectStatisMonth(Integer status, String startDate, String endDate);
}
